<!DOCTYPE html>
<html>
<head>
  	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="style.css">
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="script.js"></script>
	<title>Laevade pommitamine!</title>
	<script>
		window.onload=function() {
			checkLogin(initReplay);
		};
	</script>
</head>
<body id="body"oncontextmenu="return false;" > 
	<audio preload="auto" id="audioShot">
	  <source src="Audio/Shot.ogg" type="audio/ogg" />
	  <source src="Audio/Shot.mp3" type="audio/mp3" />
	  <source src="Audio/Shot.wav" type="audio/wav" />
	  Your browser does not support the audio tag.
	</audio>	
	<audio preload="auto" id="audioMiss">
	  <source src="Audio/Miss.ogg" type="audio/ogg" />
	  <source src="Audio/Miss.mp3" type="audio/mp3" />
	  <source src="Audio/Miss.wav" type="audio/wav" />
	  Your browser does not support the audio tag.
	</audio> 	
	<audio preload="auto" id="audioHit0">
	  <source src="Audio/Hit0.ogg" type="audio/ogg" />
	  <source src="Audio/Hit0.mp3" type="audio/mp3" />
	  <source src="Audio/Hit0.wav" type="audio/wav" />
	  Your browser does not support the audio tag.
	</audio> 	
	<audio preload="auto" id="audioWin">
	  <source src="Audio/Win.ogg" type="audio/ogg" />
	  <source src="Audio/Win.mp3" type="audio/mp3" />
	  <source src="Audio/Win.wav" type="audio/wav" />
	  Your browser does not support the audio tag.
	</audio> 	
	<audio preload="auto" id="audioLoss">
	  <source src="Audio/Loss.ogg" type="audio/ogg" />
	  <source src="Audio/Loss.mp3" type="audio/mp3" />
	  <source src="Audio/Loss.wav" type="audio/wav" />
	  Your browser does not support the audio tag.
	</audio> 
	<table id="layout">
		<tr>
			<td colspan="2"><button id="logout" onclick="logout()" >Logi v&auml;lja</button><button id="backToLobby" onclick="backToLobby()" >Tagasi ooteruumi</button></td>
		</tr>
		<tr><!-- Row 1 -->
			<td id="banner" colspan="2">
			</td><!-- Col 1 -->
		</tr>	
		<tr>
			<td id="playerA"></td>
			<td id="playerB"></td>
		</tr>
		<tr><!-- Row 2 -->
			<td>
				<div id="playerField"></div>
			</td><!-- Col 1 -->
			<td>
				<div id="enemyField"></div>
			</td><!-- Col 2 -->
		</tr>
	</table>
</body>
</html>